<template>
  <div class="payment-button">
    <button @click="pay">立即支付</button>
  </div>
</template>

<script>
export default {
  name: 'PaymentButton',
  methods: {
    pay() {
      alert('模拟支付成功')
    }
  }
}
</script>